$OpenBSD: patch-third_party_pdfium_fpdfsdk_javascript_JS_Value_cpp,v 1.3 2017/04/19 05:16:47 robert Exp $
--- third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp.orig.port	Thu Mar  9 21:05:26 2017
+++ third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp	Fri Mar 10 07:46:25 2017
@@ -469,7 +469,12 @@ double _getLocalTZA() {
   long timezone = 0;
   _get_timezone(&timezone);
 #endif
+#ifdef __OpenBSD__
+  struct tm *lt;
+  return (double)(-(lt->tm_gmtoff * 1000));
+#else
   return (double)(-(timezone * 1000));
+#endif
 }
 
 int _getDaylightSavingTA(double d) {
